package com.qfedu.service;

import com.qfedu.entity.PageBean;
import com.qfedu.entity.Product;

import java.sql.SQLException;

public interface ProductService {
    PageBean<Product> getPageBean(int tid, int currentPage, int pageSize) throws SQLException;
    Product getProductById(int pid) throws SQLException;
}
